package com.qtcm.nas.cxm.yuangong.service;

import com.qtcm.nas.cxm.yuangong.pojo.Employee;
import com.qtcm.nas.cxm.yuangong.pojo.YeJi;

import java.util.Date;
import java.util.List;

public interface IEmployeeService {
    //添加用户
    public void addEmployee(Employee employee);
    //分页查询
    public List<Employee> findAllPage(Integer pageNum, Integer pageSize);
    //查询全部
    public List<Employee> findAll();
    //查询在职员工
    public List<Employee> findZz();
    //查询离职员工
    public List<Employee> findLz();
    //根据id查询数据
    public Employee findById(int eid);
    //修改员工
    public void updateEmployee(Employee employee);
    //查询服务名
    public YeJi findFu(int eid);
    //查询订单表
//    public List<YeJi> findOrders();
    //根据日期查询
    public List<YeJi> findOrders(String firstDate, String lastDate);
}
